package com.dgut.lab.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Document(collection = "questionnaires")
public class Questionnaire {
    @Id
    private ObjectId questionnaireId;
    private Map<String,Object> questions;
    private Integer enable;

}
